using UnityEngine;
using System.Collections;

public class SoundEffects : MonoBehaviour {
    public AudioClip audioEnemyDie;
    public AudioClip audioBossDamage;
    public AudioClip audioPlayerDamage;
    public AudioClip audioBossDefeated;
    public AudioClip audioDogDie;
    public AudioClip ribsRise;
	
	public static SoundEffects instance;

	// Use this for initialization
	void Start () {
		instance = this;
	}
	
	// Update is called once per frame
	void Update () {
	
	}

    public void playEnemyDeath()
    {
        audio.volume = 1.0f;
		audio.PlayOneShot(audioEnemyDie);
    }
    public void playBossDamage()
    {
        audio.volume = .25f;
        audio.PlayOneShot(audioBossDamage);
    }
    public void playPlayerDamage()
    {
        audio.volume = .25f;
        audio.PlayOneShot(audioPlayerDamage);
    }
    public void playBossDefeated()
    {
        audio.volume = 1.0f;
        audio.PlayOneShot(audioBossDefeated);
    }
    public void playDogDie()
    {
        audio.volume = 1.0f;
        audio.PlayOneShot(audioDogDie);
    }
    public void playRibsRise()
    {
        audio.volume = 1.0f;
        audio.PlayOneShot(ribsRise);
    }
}
